import request from '@/utils/request'

// 分配权限列表
export function getRoutesList(query) {
  return request({
    url: '/admin/system/role/role2Res',
    method: 'get',
    params: query
  })
}
export function updateRoleName(query) {
  return request({
    url: '/admin/system/role/saveRoleRes',
    method: 'post',
    params: query
  })
}
